import layout from '@/layout/'
const meta = { auth: false}
export default {
    path: '/menu',
    name: 'menu',
    meta,
    redirect: { name: 'menu-index' },
    component: layout,
    children: (pre => [
        {
            path: 'menu/index',
            name: `${pre}index`,
            component: () => import('@/pages/menu/index'),
            meta: { ...meta, title: '主菜单' }
        },{
            path: 'stop',
            name: `${pre}stop`,
            component: () => import('@/pages/menu/StopInfusion'),
            meta: { ...meta, title: '暂停输注' }
        },{
            path: 'start',
            name: `${pre}start`,
            component: () => import('@/pages/menu/StartInfusion'),
            meta: { ...meta, title: '恢复输注' }
        }
    ])('menu-')
}